package com.crm.dao;

import com.crm.domain.DataGridView;
import com.crm.pojo.Service;
import com.crm.pojo.User;
import com.crm.vo.ServiceVo;

import java.util.Date;
import java.util.List;

public interface ServiceMapper {
    public List<Service> selectAllServices();
    /**
     * 按条件查询多条用户信息
     * @param service
     * @return
     */
    public List<Service> selectServiceByProperty(Service service);
    /**
     * 向service表中添加数据
     * @param service
     * @return
     */
    public int insertService(Service service);
    /**
     * 删除用户
     * @param id
     */
    public void deleteByid(int id);

    public int updatAssign(int id,String assignee,Date distributeTime);

    public int updatDeal(int id,String serviceDeal,String conductor,Date dealTime);

    public int updatResponse(int id,String dealResrult,String satisfaction);
}
